<?php

use Carbon\Carbon;
use Illuminate\Database\Seeder;

class UsersTableSeeder extends Seeder
{
    /**
     * Run the database seeds.
     *
     * @return void
     */
    public function run()
    {
        $users = [
            [
                'id' => '1',
                'name' => 'George',
                'staffid' => 'TR9527',
                'gender' => 'male',
                'email' => 'george@betterde.com',
                'password' => bcrypt('George@1994'),
                'avatar' => null,
                'admin' => true,
                'created_at' => Carbon::now(),
                'updated_at' => Carbon::now()
            ],[
                'id' => '2',
                'name' => 'Kevin',
                'staffid' => 'TR9521',
                'gender' => 'male',
                'email' => 'kevin@betterde.com',
                'password' => bcrypt('Kevin@1994'),
                'avatar' => null,
				'admin' => true,
                'created_at' => Carbon::now(),
                'updated_at' => Carbon::now()
            ],[
                'id' => '3',
                'name' => 'Eric',
                'staffid' => 'TR9522',
                'gender' => 'male',
                'email' => 'eric@betterde.com',
                'password' => bcrypt('Eric@1994'),
                'avatar' => null,
				'admin' => true,
                'created_at' => Carbon::now(),
                'updated_at' => Carbon::now()
            ],
        ];

        DB::table('users')->insert($users);
    }
}
